<?php

include('phpWebCralwer-master/LIB_http.php');
$maxfetchsize = 2974293847293;


    
    $ch = curl_init();
$aReponse = http_get('http://www.acfe.com/login_popup.aspx', 'http://www.acfe.com/login_popup.aspx');
$sPage = $aReponse['FILE'];


include('../hlib/simple_html_dom.php');

$html = str_get_html($sPage);
$aInputClean = array();
$a = $html->find('input');

foreach($html->find('input') as $oElement) {
    if(isset($oElement->name)) {
        $aInputClean[$oElement->name] = $oElement->value;
    }
}

$aInputClean['txtUsername'] = 'akinlax@yahoo.com';
$aInputClean['txtPassword'] = 'Flourish75';
echo '<pre>'; print_r($aInputClean);echo '</pre>';die();
$a = http_post_form('http://www.acfe.com/login_popup.aspx', 'http://www.acfe.com/login_popup.aspx', $aInputClean);

$end = http_get('http://nf.acfe.com/eweb/DynamicPage.aspx?site=ACFEWEB&webcode=MyInformation','http://nf.acfe.com/eweb/DynamicPage.aspx?site=ACFEWEB&webcode=MyInformation');

print_r($end);